package com.bishe.demo.service;

import com.bishe.demo.mapper.StoreMapper;
import com.bishe.demo.pojo.Store;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StoreService {

    @Autowired
    StoreMapper storeMapper;

    public List<Store> selectStore(){

        List<Store> storeList = storeMapper.selectList(null);

        return  storeList;

    }
}
